package study.bean;

public class Cat extends  Animal {
    /**
     * 眼睛的颜色
     */
    private String eyeColor="绿色的眼睛";

    public String getEyeColor() {
        return eyeColor;
    }

    @Override
    public void eat() {
        System.out.println("猫吃东西");
    }

    public void catchMouse(){
        System.out.println("猫抓老鼠");
    }
}
